<template>
  <div class="box">
    <div class="pic">
      <div class="cloudImg"></div>
      <div class="hotImg"></div>
      <p>更新日期: 11月01日</p>
    </div>

    <HotSongList />
    <div class="complete">
      <router-link to="">查看完整榜单 ></router-link>
    </div>
  </div>
</template>

<script>
import HotSongList from "@/components/HotSongList.vue";

export default {
  name:"HotSong",
  components:{
    HotSongList
  }
};
</script>

<style lang="less" scoped>
.box {
  background: url("../assets/hotBg.jpg") no-repeat 0 0 / cover;
  height: 38vw;
  position: relative;
}
.pic {
  position: relative;
  height: 38vw;
  .cloudImg {
    position: absolute;
    top: 20px;
    left: 0;
    background: url("../assets/music.png") no-repeat -57px -60px;
    width: 87px;
    height: 28px;
    transform: scale(0.5);
  }
  .hotImg {
    background: url("../assets/music.png") no-repeat -48px -98px;
    width: 283px;
    height: 95px;
    transform: scale(0.5);
    position: absolute;
    top: 22px;
    left: -50px;
  }
  p {
    color: #dcd8c6;
    text-align: left;
    position: absolute;
    top: 100px;
    left: 22px;
    font-size:12px;
  }

  &::after{
    content:"";
    display:block;
    height: 38vw;
    top:0;
    background-color: rgba(0, 0, 0, 0.2);
  }
}
.complete{
  height: 55px;
    line-height: 55px;
  a{
    color:#999999;
    text-decoration:none;
  }
  
}
</style>